package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.entity.IncentiveRewardClauseRuleRecord;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 奖励规则变更记录 Service接口
 *
 * @author zjb
 * @date 2024-08-30 09:51:18
 */
public interface IIncentiveRewardClauseRuleRecordService extends IService<IncentiveRewardClauseRuleRecord> {
    /**
     * 查询（分页）
     * @author zjb
     * @date 2024-08-30 09:51:18
     * @param request QueryRequest
     * @param incentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord
     * @return IPage<IncentiveRewardClauseRuleRecord>
     */
    IPage<IncentiveRewardClauseRuleRecord> findIncentiveRewardClauseRuleRecordPage(QueryRequest request, IncentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord);

    /**
     * 查询（所有）
     * @author zjb
     * @date 2024-08-30 09:51:18
     * @param incentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord
     * @return List<IncentiveRewardClauseRuleRecord>
     */
    List<IncentiveRewardClauseRuleRecord> findIncentiveRewardClauseRuleRecordList(IncentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord);

    /**
    * 根据ID查询
    * @author zjb
    * @date 2024-08-30 09:51:18
    * @param id
    * @return IncentiveRewardClauseRuleRecord
    */
    IncentiveRewardClauseRuleRecord findIncentiveRewardClauseRuleRecordById(String id);

    /**
     * 新增
     * @author zjb
     * @date 2024-08-30 09:51:18
     * @param incentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord
     */
    void createIncentiveRewardClauseRuleRecord(IncentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord);

    /**
     * 修改
     * @author zjb
     * @date 2024-08-30 09:51:18
     * @param incentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord
     */
    void updateIncentiveRewardClauseRuleRecord(IncentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord);

    /**
     * 逻辑删除
     * @author zjb
     * @date 2024-08-30 09:51:18
     * @param incentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord
     * @param incentiveRewardClauseRuleRecordIds incentiveRewardClauseRuleRecordIds
     */
    void deleteIncentiveRewardClauseRuleRecord(IncentiveRewardClauseRuleRecord incentiveRewardClauseRuleRecord,String incentiveRewardClauseRuleRecordIds);

    /**
    * 物理删除
    * @author zjb
    * @date 2024-08-30 09:51:18
    * @param incentiveRewardClauseRuleRecordIds incentiveRewardClauseRuleRecordIds
    */
    void physicallyDeleteIncentiveRewardClauseRuleRecord(String incentiveRewardClauseRuleRecordIds);
}
